package me.numark.utils;

/**
 * Created by tian on 14-9-17:上午7:43.
 */
public class Constants {
    //1104748444 1103415392
    public static final String TencentAppId = "1104748444";

    public static final String SinaAppKey = "890359034";

    public static final String SinaAppRedirectURI = "http://numark.me";

    public static final String SinaScope = "";

    public static final String WECHAT_KEY = "wx20dccce540544204";

    public static final String KEY_MOBILE = "mobile";

    public static final String KEY_PASSWORD = "password";

    public static final boolean ENABLE_CLICK_APPLAYOUT = false;

    public static final int REGISTER_COMPLETE = 0;

    public static final int PASSWORD_COMPLETE = 10;

    public static final int INTEREST_COMPLETE = 11;

    public static final int FEED_FRI_COMPLETE = 12;


    /*
    public static final SparseArray<String> CHANNELS = new SparseArray<String>();

    public static final SparseArray<String> NEWS_SOURCES = new SparseArray<String>();

    static {
        CHANNELS.append(0, "财经");
        CHANNELS.append(1, "商业");
        CHANNELS.append(2, "科技");
        CHANNELS.append(3, "管理");
        CHANNELS.append(4, "产品");
        CHANNELS.append(5, "创业");
        CHANNELS.append(6, "科学");
        CHANNELS.append(7, "人物");
        CHANNELS.append(8, "品牌");
        CHANNELS.append(99, "综合");
        CHANNELS.append(100, "大家分享");

        NEWS_SOURCES.append(0, "网易");
        NEWS_SOURCES.append(1, "搜狐");
        NEWS_SOURCES.append(2, "新浪");
        NEWS_SOURCES.append(3, "腾讯");
        NEWS_SOURCES.append(4, "搜狐博客");
        NEWS_SOURCES.append(5, "快鲤鱼");
        NEWS_SOURCES.append(6, "果壳");
        NEWS_SOURCES.append(7, "36kr");
        NEWS_SOURCES.append(8, "华尔街见闻");
        NEWS_SOURCES.append(9, "21世纪网");
        NEWS_SOURCES.append(10, "微信传送门");
        NEWS_SOURCES.append(11, "福布斯中文网");
        NEWS_SOURCES.append(12, "FT中文网");
        NEWS_SOURCES.append(13, "百度百家");
        NEWS_SOURCES.append(14, "腾讯大家");
        NEWS_SOURCES.append(15, "微信");
        NEWS_SOURCES.append(100, "原创");
    }
*/
    public static final int SMS_COUNT_DOWN_TIME = 60;

    public static final int HOT_PAGE_SIZE = 10;

    public static final int PAGE_SIZE = 20;

    public static final int LARGE_PAGE_SIZE = 300;

    public static final int STAR_LEVEL = 5; //大于这个的评分显示推, 小于显示呵呵

    public static final String FEED_EXTRA = "me.numark.feed";

    public static final String FEEDTAG_EXTRA = "me.numark.feedtag";

    public static final String FEED_MID_EXTRA = "me.numark.feed.mid";

    public static final String COMMENT_TID_EXTRA = "me.numark.topic.tid";

    public static final String URL_EXTRA = "me.numark.url";

    public static final String SHARE_COUNT = "me.numark.comment_count";

    public static final String PICTURE_EXTRA = "me.numark.picture";

    public static final String NEWS_EXTRA = "me.numark.news";

    public static final String FROM_ARTICLE = "me.numark.fromarticle";

    public static final String USER_EXTRA = "me.numark.user";

    public static final String MESSAGE_INTERVAL_EXTRA = "me.numark.message_interval";

    public static final String REGISTER_STAGE_EXTRA = "me.numark.register_stage";

    public static final String REPLY_USER = "me.numark.user_reply";

    public static final String NOTIFY = "notify";

    public static final String NOTIFY_ACTION = "notify_action";

    public static final String EXTRA_URL = "me.numark.article_url";

    public static final long BIG_TIME = 4070880000000L; // 2099-01-01

    public static final String ACTION_LOG_OUT = "me.numark.log_out";
    public static final String ACTION_WECHAT_LOGIN = "me.numark.wechat_login";
    public static final String ACTION_USER_CHANGED = "me.numark.user_changed";
    public static final String ACTION_FEED_DELETED = "me.numark.feed_deleted";
    public static final String ACTION_TOPIC_DELETED = "me.numark.topic_deleted";
    public static final String ACTION_HAS_UNREAD = "me.numark.has_unread";
    public static final String NOTICE_IS_NEWS = "me.numark.notice_is_news";
    public static final String FEED_ID = "me.numark.feed_id";


    public static final int FEEDTYPE_NONE = 0;
    public static final int FEEDTYPE_DETAIL = 1;
    public static final int FEEDTYPE_TIMELINE = 2;
    public static final int FEEDTYPE_LAST_MARK = 3;
    public static final int FEEDTYPE_HOT_MARK = 4;
    public static final int FEEDTYPE_TAG_LAST = 5;
    public static final int FEEDTYPE_TAG_HOT = 6;
    public static final int FEEDTYPE_SEARCH_ALL = 7;
    public static final int FEEDTYPE_SEARCH_FOLLOW = 8;
    public static final int FEEDTYPE_USER_MARKS = 11;
    public static final int FEEDTYPE_USER_COMMENTS = 12;
    public static final int FEEDTYPE_USER_LIKES = 13;
    public static final int FEEDTYPE_LOADMORE = 100;
    public static final int TOPICTYPE_NONE = 14;
    public static final int TOPICTYPE_LIST = 15;
    public static final int TOPICTYPE_DETAIL = 16;
}